package com.erp.gather.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.erp.gather.domain.ErpCollectProductTask;
import com.erp.gather.domain.vo.ErpCollectProductTaskVo;
import com.ruoyi.common.core.annotation.DataColumn;
import com.ruoyi.common.core.annotation.DataPermission;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 采集商品任务Mapper接口
 *
 * @author erp
 * @date 2023-03-13
 */
public interface ErpCollectProductTaskMapper extends BaseMapperPlus<ErpCollectProductTaskMapper, ErpCollectProductTask, ErpCollectProductTaskVo> {

	@Override
	@DataPermission({ @DataColumn(key = "userName", value = "create_by") })
	<P extends IPage<ErpCollectProductTask>> P selectPage(P page,
			@Param(Constants.WRAPPER) Wrapper<ErpCollectProductTask> queryWrapper);
}
